package com.graduate.game.shop.service;

import com.graduate.game.shop.mapper.orderformMapper;
import com.graduate.game.shop.pojo.orderform;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class orderformServiceImpl implements orderformService {
    @Resource
    orderformMapper orderformMapper;
    @Override
    public boolean addform(orderform orderform) {
        int x = orderformMapper.addform(orderform);
        if(x>0){
            return true;
        }else {
            return false;
        }
    }
}
